package com.lrm.bean;

import java.util.Date;

/**
 * @Author: 王金海
 * @Description:
 * @Date: Created by Administrator on 2017/12/4.
 * @Modified By:
 */
public class Userbean {
    private Long id;
    private String nickName;
    private String email;
    private String username;
    private String password;
    //    头像
    private String avatar;
    private Integer type;
//    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date creatrTime;
//    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date updataTime;

    @Override
    public String toString() {
        return "Userbean{" +
                "id=" + id +
                ", nickName='" + nickName + '\'' +
                ", email='" + email + '\'' +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", avatar='" + avatar + '\'' +
                ", type=" + type +
                ", creatrTime=" + creatrTime +
                ", updataTime=" + updataTime +
                '}';
    }

    public Userbean(Long id, String nickName, String email, String username, String password, String avatar, Integer type, Date creatrTime, Date updataTime) {
        this.id = id;
        this.nickName = nickName;
        this.email = email;
        this.username = username;
        this.password = password;
        this.avatar = avatar;
        this.type = type;
        this.creatrTime = creatrTime;
        this.updataTime = updataTime;
    }

    public Userbean() {
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Date getCreatrTime() {
        return creatrTime;
    }

    public void setCreatrTime(Date creatrTime) {
        this.creatrTime = creatrTime;
    }

    public Date getUpdataTime() {
        return updataTime;
    }

    public void setUpdataTime(Date updataTime) {
        this.updataTime = updataTime;
    }
}
